 <div class="mainright11" >
    <!--login panel-->
    	    <!--{if $username == ""}-->
	
	<div class="" style="background:url(<!--{$tplpath}-->images/login_bg.png) #FFFFFF; height:214px; border:solid #FFFFFF;">
        <form method="post" target="_self" action="/user.php" id="">
			<input type="hidden" name="action" value="login" />
            <input type="hidden" name="targeturl" value="<!--{$loginuser.url}-->" />
            	<table width="" height=""  border="0" cellspacing="0" align="center" style=" margin-top:50px; margin-left:10px;">
                  <tr>
                    <td width="56" height="25">用户名：</td>
                    <td ><input name="username"  type="text" size="15"/></td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="25">密码：</td>
                    <td colspan="2"><input name="password" type="password" size="15" /><a href="/user.php?mod=reset" target="_blank" style=" color:#aaaaaa; text-decoration:underline; font-size:12px;">忘记密码？</a></td>
                  </tr>
                </table>
           
          <table border="0" cellpadding="0" cellspacing="10" align="center" width="100%">
            	<td width="50%" align="center">
				<input type="image" src="<!--{$tplpath}-->images/btn_login.png" style=" cursor:pointer;">
    			</td>
                <td><a target="_blank" href="/user.php?mod=reg"><img src="<!--{$tplpath}-->images/btn_register.png" /></a>
           		</td>
           </table>
		    </form>
		<div style="position:absolute;top:451px;padding-left:10px;">
			<!--{foreach $volist_info_huodong as $volist}-->
			<p><img src="<!--{$tplpath}-->images/huodong3.gif" />&nbsp;<a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></p>
			<!--{/foreach}-->
		</div>
        </div>	
		<!--{else}-->
			<div class="" style="background:url(<!--{$tplpath}-->images/login_bg.png) #FFFFFF; height:214px; border:solid #FFFFFF;">
         
        	<form method="post" target="_self" action="/user.php" id="quitform">
			<!--input type="hidden" name="action" value="quit" /-->
             <input type="hidden" name="targeturl" value="<!--{$loginuser.url}-->" />
            	<table width="100%" height=""  border="0" cellspacing="5" align="center" style="">
                <tr>
                <td height="50"></td>
                </tr>
                  <tr>
                    <td colspan="2" width="100%" height="25" align="center"><!--{$username}--> 欢迎您登陆!</td>
              
                  </tr>
                  <tr>
                  		<td width="60%" align="center"><a href="javascript:postfrm('quitform','action','modify');"><img src="<!--{$tplpath}-->images/btn_musr.png" /></a></td>
                  		<td><a href="javascript:postfrm('quitform','action','quit');"><img src="<!--{$tplpath}-->images/btn_exit.png" /></a></td>
                  </tr>
              
                </table>
   
		    </form>
           
            
		<div style="position:absolute;top:451px;padding-left:10px;">
			<!--{foreach $volist_info_huodong as $volist}-->
			<p><img src="<!--{$tplpath}-->images/huodong3.gif" />&nbsp;<a href="<!--{$volist.url}-->"><!--{$volist.title}--></a></p>
			<!--{/foreach}-->
		</div>
        </div>
		<!--{/if}-->
        
 <!--{if $banner!= ""}-->       
  <div style="width:257px;  margin:3px; height:48px; overflow:hidden;">
   <ul id="sslist1" style="list-style-type:none;">
    <!--{foreach $banner as $bb}--> 
     	<li><a target="_blank" href="/msg.php?rid=<!--{$bb}-->&url=<!--{$bannerurl}-->" ><img src="<!--{$tplpath}-->images/banner/<!--{$bb}-->.gif" /></a></li>
    <!--{/foreach}-->
    </ul>
    <script type="text/jscript">
function scroll(element, delay, speed, lineHeight) {
 var numpergroup = 1;
 var slideBox = (typeof element == 'string')?document.getElementById(element):element;
 var delay = delay||1000;
 var speed=speed||20;
 var lineHeight = lineHeight||20;
 var tid = null, pause = false;
 var liLength = slideBox.getElementsByTagName('li').length;

 var lack = numpergroup-liLength%numpergroup;
 
 lack = 0;
 for(i=0;i<lack;i++){
 	slideBox.appendChild(document.createElement("li"));
 }
 
 var start = function() {
   tid=setInterval(slide, speed);
 }
 
 var slide = function() {
   if (pause) return;
   slideBox.scrollTop += 1;
   if ( slideBox.scrollTop % lineHeight == 0 ) {
    clearInterval(tid);
	
	for(i=0;i<numpergroup;i++){
     slideBox.appendChild(slideBox.getElementsByTagName('li')[0]);
    }
    slideBox.scrollTop = 0;
    
	setTimeout(start, delay);
	
   }
 }
 
 slideBox.onmouseover=function(){pause=true;}
 slideBox.onmouseout=function(){pause=false;}
 setTimeout(start, delay);
 
}
		scroll('sslist1', 4000, 1, 20 );
    </script>
  </div>
 <!--{/if}-->

 <!--weibo-->
 <div style=" margin-top:5px; background:#FFFFFF;">
   <div style="background:url(<!--{$tplpath}-->images/weibo_weibo.gif) no-repeat;height:56px;"></div>
			<div style="height:76px;border:2px solid #e3d9c3; margin:5px;">
				<table>
				<tr><td rowspan="3"><img src="<!--{$tplpath}-->images/weibo_head.gif" style="padding:13px;"/></td><td height="10"></td><td></td></tr>
				<tr><td><span style="padding-botton:0px;">张绍金</span></td><td></td></tr>
				<tr><td width="90" height="30" valign="top"><a href="http://weibo.com/u/2805180910"><img src="<!--{$tplpath}-->images/weibo_sina.gif"/></a></td><td valign="top"><a href="http://t.qq.com/zhangshaojin2008"><img src="<!--{$tplpath}-->images/weibo_qq.gif"/></a></td></tr></table>
			</div>

</div>
         <!--div class="qimen"><a href="/18/index.html"><img src="/images/qingzhi.gif" width="264" height="63" /></a></div-->

<div class="hdong" style="height:640px;"><!--hudong-->
<div class="hdong_title">
  <ul class="list"  style="margin-top:56px;margin-left:15px;list-style-position:inside;">
	     <!--{foreach $volist_guestbook_inner as $volist}-->
		<li style="padding-bottom: 5px;">
      <!--{if $volist.cateid > 0}-->
      <label class="content" style="background:#FFFFFF;"><label class="notreply">[评论]</label><!--{$volist.content}--></label>
      <!--{else}-->

            <label class="content" style="background:#FFFFFF;"><label class="notreply">[提问]</label><!--{$volist.content}--></label>
         <!--{if $volist.replytimeline > 0}-->
         <br/>
    
         <label class="content" style="background:#FFFFFF;"><label class="replied">[解答]</label><!--{$volist.replycontent}--></label>
        <!--{/if}-->
        <!--{/if}-->
        </li>
		<!--{/foreach}-->
      </ul>
</div>

</div>
<div id="btn_hudong">
	<a target="_blank" href="/guestbook.php"><img src="<!--{$tplpath}-->images/btn_ask.png"></a>
    <!--<a target="_blank" href="page.php?mod=guestbooklist"><img src="<!--{$tplpath}-->images/btn_answer.png"></a>-->
</div>
    </div>

